package com.tinycloud.miracll.product.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tinycloud.common.core.annotation.Excel;
import com.tinycloud.common.core.web.domain.BaseEntity;

/**
 * 自动助剂称量明细对象 product_auxisys_weigh_detail
 * 
 * @author tiny
 * @date 2022-05-13
 */
public class ProductAuxisysWeighDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 父ID */
    @Excel(name = "父ID")
    private String pid;

    /** 点位 */
    @Excel(name = "点位")
    private String pointNum;

    /** 助剂名称 */
    @Excel(name = "助剂名称")
    private String auxiName;

    /** 开始数量 */
    @Excel(name = "开始数量")
    private BigDecimal beginAmount;

    /** 结束数量 */
    @Excel(name = "结束数量")
    private BigDecimal endAmount;

    /** 加入数量 */
    @Excel(name = "加入数量")
    private BigDecimal amount;

    /** 配方数量 */
    @Excel(name = "配方数量")
    private BigDecimal formulaAmount;

    /** 偏差量 */
    @Excel(name = "偏差量")
    private BigDecimal deviationAmount;

    /** $column.columnComment */
    private Long delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setPid(String pid) 
    {
        this.pid = pid;
    }

    public String getPid() 
    {
        return pid;
    }
    public void setPointNum(String pointNum) 
    {
        this.pointNum = pointNum;
    }

    public String getPointNum() 
    {
        return pointNum;
    }
    public void setAuxiName(String auxiName) 
    {
        this.auxiName = auxiName;
    }

    public String getAuxiName() 
    {
        return auxiName;
    }
    public void setBeginAmount(BigDecimal beginAmount) 
    {
        this.beginAmount = beginAmount;
    }

    public BigDecimal getBeginAmount() 
    {
        return beginAmount;
    }
    public void setEndAmount(BigDecimal endAmount) 
    {
        this.endAmount = endAmount;
    }

    public BigDecimal getEndAmount() 
    {
        return endAmount;
    }
    public void setAmount(BigDecimal amount) 
    {
        this.amount = amount;
    }

    public BigDecimal getAmount() 
    {
        return amount;
    }
    public void setFormulaAmount(BigDecimal formulaAmount) 
    {
        this.formulaAmount = formulaAmount;
    }

    public BigDecimal getFormulaAmount() 
    {
        return formulaAmount;
    }
    public void setDeviationAmount(BigDecimal deviationAmount) 
    {
        this.deviationAmount = deviationAmount;
    }

    public BigDecimal getDeviationAmount() 
    {
        return deviationAmount;
    }
    public void setDelFlag(Long delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pid", getPid())
            .append("pointNum", getPointNum())
            .append("auxiName", getAuxiName())
            .append("beginAmount", getBeginAmount())
            .append("endAmount", getEndAmount())
            .append("amount", getAmount())
            .append("formulaAmount", getFormulaAmount())
            .append("deviationAmount", getDeviationAmount())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
